package com.itheima.reggie.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.OrdersDto;
import com.itheima.reggie.entity.OrderDetail;
import com.itheima.reggie.entity.Orders;
import com.itheima.reggie.entity.ShoppingCart;
import org.springframework.core.annotation.Order;

import java.util.List;

public interface OrderDetailService{
    void add(OrderDetail orderDetail);

    List<OrderDetail> list(LambdaQueryWrapper<OrderDetail> wrapper);

    List<OrderDetail> getByOrderId(Long orderId);
}
